/*
 * stars_finder.cpp
 *
 *  Created on: 17.09.2010
 *      Author: pasha
 */
#include "stars_finder.h"
#include <opencv/cv.h>

using namespace cv;
void get_features(string filename, vector<Point2f> & stars)
{
	Mat image = imread(filename.c_str(), 1);
	Mat grayImage;
	cvtColor(image, grayImage, CV_BGR2GRAY);
	goodFeaturesToTrack(grayImage, stars, 1000, 0.1, 10);
}
